import {InputEmits, InputProps} from "element-plus"
import {CreateFormElsComponents} from "../render/common.ts"
import {ElInputCustomerProps, ElInputCustomerEvents, ElInputCustomerExtend} from "./index.ts"

type ElInputProps = InputProps & ElInputCustomerProps

type ElInputEvents = InputEmits & ElInputCustomerEvents

type ElInputExtend = ElInputCustomerExtend

export type ElInput<Prop> = CreateFormElsComponents<"el-input", Prop, ElInputProps, ElInputEvents> & ElInputExtend
